import { StrategyContext } from "./StrategyContext";
import { PushTowerStrategy } from "./PushTowerStrategy";
import { TeamfightStrategy } from "./TeamfightStrategy";

let sc: StrategyContext = new StrategyContext();
let pts: PushTowerStrategy = new PushTowerStrategy();
sc.setStrategy(pts);
sc.doStrategyMethod();
// 切换策略
let tfs: TeamfightStrategy = new TeamfightStrategy();
sc.setStrategy(tfs);
sc.doStrategyMethod();
